package net.qiqb.core;

import net.qiqb.core.executing.StandardAggregateExecutor;

public class QiqbImpl implements Qiqb {

    private final StandardAggregateExecutor commandExecutorFactory;

    public QiqbImpl(StandardAggregateExecutor commandExecutorFactory) {
        this.commandExecutorFactory = commandExecutorFactory;
    }

    @Override
    public void executeCommand(Object... commandObjs) {
        commandExecutorFactory.execute(commandObjs);
    }
}
